package com.qf.day05;

/**
 * 实例方法重载
 */
public class Demo03 {

    public static void main(String[] args) {
        Student sure = new Student();
        sure.name = "硕";
        sure.happy = 100;
        Student tong = new Student();
        tong.name = "彤";
        tong.happy = 100;
//        sure.playGame(30);
//        tong.playGame(200);
//
        sure.playGame(30,tong);

    }

}
